package bavaria.hightech.banking.bank;

import java.io.OutputStream;

/**
 * derivated class StringBuilderOutputStrem extends OutputStream
 * @author David
 *
 */
public class StringBuilderOutputStream extends OutputStream {

	private StringBuilder target = new StringBuilder();

	@Override
	public void write(int b) {
		this.target.append((char) b);
	}

	@Override
	public String toString() {
		return target.toString();
	}
}